package com.gitee.cheungming.order.feign;

import com.gitee.cheungming.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mall-consumer")
public interface ConsumerClient {

    @RequestMapping("/consumer/payByScore")
    Result<?> payByScore(@RequestParam Long consumerId, @RequestParam Long score);
}
